package xyz.maxwells.bigdata.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import xyz.maxwells.bigdata.domain.data.Upload;

import java.util.List;

/**
 * Created by wuzusheng on 2018/5/16.
 */
public interface UploadService {
    List<Upload>findByUserName(String userName);
    void delete(Long id);
    void save(Upload upload);
    Page<Upload> list(Specification<Upload> spec, Pageable pageable);
}
